import React from "react";
import {createStyles} from "antd-style";

const useStyles = createStyles(({css, token}) => {
    return {
        container: css`
            font-size: 18px;
            margin: 20px 0;
            color: ${token.colorPrimaryText};
        `,
    }
})

const App: React.FC<{ children: string }> = ({children}) => {
    const styles = useStyles().styles;

    return (
        <h3 className={styles.container}>
            {children}
        </h3>
    )
}

export default App
